﻿@model SMWJamecl.BusinessEntities.Vehiculo

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Create</h2>

@using (Html.BeginForm()) {    
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Vehiculo</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Placa)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Placa)
            @Html.ValidationMessageFor(model => model.Placa)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Id_Version)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Id_Version)
            @Html.ValidationMessageFor(model => model.Id_Version)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Color)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Color)
            @Html.ValidationMessageFor(model => model.Color)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Anio_Fabricacion)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Anio_Fabricacion)
            @Html.ValidationMessageFor(model => model.Anio_Fabricacion)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NroMotor)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NroMotor)
            @Html.ValidationMessageFor(model => model.NroMotor)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NroSerie)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NroSerie)
            @Html.ValidationMessageFor(model => model.NroSerie)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NroChasis)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NroChasis)
            @Html.ValidationMessageFor(model => model.NroChasis)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NroAsientos)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NroAsientos)
            @Html.ValidationMessageFor(model => model.NroAsientos)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Id_DetalleAccesorio)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Id_DetalleAccesorio)
            @Html.ValidationMessageFor(model => model.Id_DetalleAccesorio)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Kilometraje)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Kilometraje)
            @Html.ValidationMessageFor(model => model.Kilometraje)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Id_Combustible)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Id_Combustible)
            @Html.ValidationMessageFor(model => model.Id_Combustible)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Estado)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Estado)
            @Html.ValidationMessageFor(model => model.Estado)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
